package cn.bluemobi.app.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.app.entity.output.Comment;
import cn.bluemobi.app.entity.output.Commodity;
import cn.bluemobi.app.entity.output.Specification;

public interface CommodityMapper {

    List<Commodity> findCommodityList(Map<String, Object> params);

    Commodity findCommodityDetail(String commodityId, String memberId);

    List<String> findCommodityImageUrlList(String commodityId);

    List<Specification> findCommoditySpecificationList(String commodityId);

    Specification findSpecificationDetail(String commodityId, String specificationId);

    List<Comment> findComments(Map<String, Object> params);

    List<String> findCommentImags(String commentId);

}
